﻿using NodeEditor;

namespace ETHotfix
{
    [NodeEvent(typeof(InputStringNode))]
    class InputStringNodeHandle : NodeHandle<InputStringNode>
    {
        const string value = "value";
        protected override void OnHandle(RuntimeTree runtimeTree, RuntimeNode runtimeNode, InputStringNode data, Unit unit)
        {
            runtimeNode.SetOutputValue(value, data.value);
        }
    }
}
